package com.kly.sc.api.application.controller.order.rsp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

@Getter
@Setter
@ApiModel(value = "会员信息")
public class ApplePaySuccessResp {
    @ApiModelProperty(value = "会员类型")
    private Integer memberType;
    @ApiModelProperty(value = "状态值")
    private Integer status;
    @ApiModelProperty(value = "过期日期")
    private Date expiryDate;
    @ApiModelProperty(value = "会员权益")
    private List<MemberBenefitsVO> benefits;

    @Getter
    @Setter
    @ApiModel(value = "会员权益")
    public static class MemberBenefitsVO {
        @ApiModelProperty(value = "会员类型")
        private Integer benefitCode;
        @ApiModelProperty(value = "可使用次数")
        private Integer maxUses;
    }
}
